﻿@model ScrumPilot.Models.LogOnModel
@{
    ViewBag.Title = "ScrumPilot Log On";
}

<h1 class="offset3 span6" style="margin-bottom:36px">Welcome on ScrumPilot | Log On
    <small>
        <br />
        Please enter your TFS username (domain/username) and password.
    </small></h1>
@using (Html.BeginForm())
{
    <div class="offset3 span6">
        <h3>Account information</h3>
        @Html.LabelFor(m => m.UserName)
        @Html.TextBoxFor(m => m.UserName, new { @class = "span4" })
        @Html.ValidationMessageFor(m => m.UserName)
        @Html.LabelFor(m => m.Password)
        @Html.PasswordFor(m => m.Password, new { @class = "span4" })
        @Html.ValidationMessageFor(m => m.Password)
        @Html.LabelFor(m => m.RememberMe)
        @Html.CheckBoxFor(m => m.RememberMe)
        <input type="submit" value="Log On" />
    </div>
}
@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")

